﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmApiLibrary.datatypes.Interface;
using SmApiLibrary.helps;

namespace SmApiLibrary.datatypes.Interface
{
    public class IUser
    {
        public string id { get; set; }
        public string screen_name { get; set; }
        public string name { get; set; }
        public string province { get; set; }
        public string city { get; set; }
        public string location { get; set; }
        public string description { get; set; }
        public virtual string url { get; set; }
        public string profile_image_url { get; set; }
        public string domain { get; set; }
        public string gender { get; set; }
        public string followers_count { get; set; }
        public string statuses_count { get; set; }
        public string favourites_count { get; set; }
        public string friends_count { get; set; }
        private string _createAt;
        public string created_at
        {
            get { return _createAt; }
            set
            {
                try
                {
                    _createAt = JsonHelper.FormatJsonDateTime(value);
                }
                catch
                {

                    _createAt = value;
                }

            }
        }
        public string following { get; set; }
        public string allow_all_act_msg { get; set; }
        public string geo_enabled { get; set; }
        public string verified { get; set; }
        public IStatus status { get; set; }

        #region IDataTypeBase 成员

        public virtual SmApiLibrary.libs.WeiBoType WeiboType
        {
            get;
            set;
        }
        #endregion
    }
}
